package com.loukou.lkt.lkt.req;

import java.util.Date;
import java.util.List;

public class SaleOrderReq {
	
	private String outOrdercode;//外部销售单号
	
	private int stockOutOrderId;//出库单id
	
	private int orderType;//订单类型，0总仓发货销售订单，1微仓发货销售订单，2微仓进货
	
	private int orderState;//订单状态，0已审核，1已通知仓库，2已发货，3已关闭
	
	private int miniWarehouseId;//微仓id
	
	private int warehouseId;//仓库id
	
	private Date expectedArriveTime;//期望到达时间
	
	private String deliveryUserName;//发货人名
	
	private Date deliveryTime  = new Date();//发货时间
	
	private String closeUserName;//关闭人名
	
	private Date closeTime  = new Date();//完成时间
	
	private String remark;//备注
	
	private Date createTime  = new Date();//创建时间
	
	private List<SaleOrderDetailReq> detailList;//销售单明细
	
	private SaleOrderExtmReq extm;//收货人信息
	
	public List<SaleOrderDetailReq> getDetailList() {
		return detailList;
	}
	public void setDetailList(List<SaleOrderDetailReq> detailList) {
		this.detailList = detailList;
	}
	public SaleOrderExtmReq getExtm() {
		return extm;
	}
	public void setExtm(SaleOrderExtmReq extm) {
		this.extm = extm;
	}
	public String getOutOrdercode() {
		return outOrdercode;
	}
	public void setOutOrdercode(String outOrdercode) {
		this.outOrdercode = outOrdercode;
	}
	public int getMiniWarehouseId() {
		return miniWarehouseId;
	}
	public void setMiniWarehouseId(int miniWarehouseId) {
		this.miniWarehouseId = miniWarehouseId;
	}
	public int getWarehouseId() {
		return warehouseId;
	}
	public void setWarehouseId(int warehouseId) {
		this.warehouseId = warehouseId;
	}
	public Date getExpectedArriveTime() {
		return expectedArriveTime;
	}
	public void setExpectedArriveTime(Date expectedArriveTime) {
		this.expectedArriveTime = expectedArriveTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public int getStockOutOrderId() {
		return stockOutOrderId;
	}
	public void setStockOutOrderId(int stockOutOrderId) {
		this.stockOutOrderId = stockOutOrderId;
	}
	public int getOrderType() {
		return orderType;
	}
	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}
	public int getOrderState() {
		return orderState;
	}
	public void setOrderState(int orderState) {
		this.orderState = orderState;
	}
	public String getDeliveryUserName() {
		return deliveryUserName;
	}
	public void setDeliveryUserName(String deliveryUserName) {
		this.deliveryUserName = deliveryUserName;
	}
	public Date getDeliveryTime() {
		return deliveryTime;
	}
	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	public String getCloseUserName() {
		return closeUserName;
	}
	public void setCloseUserName(String closeUserName) {
		this.closeUserName = closeUserName;
	}
	public Date getCloseTime() {
		return closeTime;
	}
	public void setCloseTime(Date closeTime) {
		this.closeTime = closeTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
